package com.bt.table.ppt;

/**
 * Ret_prd_lotId entity. @author MyEclipse Persistence Tools
 */

public class Ret_prd_lotId implements java.io.Serializable {

	// Fields

	private String lot_id;
	private String lot_splt_id;

	// Constructors

	/** default constructor */
	public Ret_prd_lotId() {
	}

	/** full constructor */
	public Ret_prd_lotId(String lot_id, String lot_splt_id) {
		this.lot_id = lot_id;
		this.lot_splt_id = lot_splt_id;
	}

	// Property accessors

	public String getLot_id() {
		return this.lot_id;
	}

	public void setLot_id(String lot_id) {
		this.lot_id = lot_id;
	}

	public String getLot_splt_id() {
		return this.lot_splt_id;
	}

	public void setLot_splt_id(String lot_splt_id) {
		this.lot_splt_id = lot_splt_id;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Ret_prd_lotId))
			return false;
		Ret_prd_lotId castOther = (Ret_prd_lotId) other;

		return ((this.getLot_id() == castOther.getLot_id()) || (this
				.getLot_id() != null && castOther.getLot_id() != null && this
				.getLot_id().equals(castOther.getLot_id())))
				&& ((this.getLot_splt_id() == castOther.getLot_splt_id()) || (this
						.getLot_splt_id() != null
						&& castOther.getLot_splt_id() != null && this
						.getLot_splt_id().equals(castOther.getLot_splt_id())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result
				+ (getLot_id() == null ? 0 : this.getLot_id().hashCode());
		result = 37
				* result
				+ (getLot_splt_id() == null ? 0 : this.getLot_splt_id()
						.hashCode());
		return result;
	}

	@Override
	public String toString() {
		return "Ret_prd_lotId [lot_id=" + lot_id + ", lot_splt_id="
				+ lot_splt_id + "]";
	}

}